home *** CD-ROM | disk | FTP | other *** search
- function onRelease()
- {
- _alpha = 100;
- _parent.fade(targ,10);
- }
- function onRollOver()
- {
- _alpha = 100;
- }
- function onEnterFrame()
- {
- if(scrollTimer == 0)
- {
- this._x -= (_X - xPos) / 5;
- this._y -= (_Y - yPos) / 5;
- }
- else
- {
- scrollTimer--;
- }
- if(_alpha > 50)
- {
- _alpha = _alpha - 5;
- }
- }
- stop();
- xPos = this._x;
- yPos = this._y;
- _X = _X + scrollPlaceX;
- _Y = _Y + scrollPlaceY;
-